#测试环境脚本
project=/data/code/lowcode/lowcode-edtior-demo

cd $project

rm -rf $project/dist
rm -rf /data/webapps/lowcode/lowcode-edtior-demo

git pull
cnpm install
npm run build-dev

mkdir -p /data/webapps/lowcode/lowcode-edtior-demo/dist
cp -r /data/code/lowcode/lowcode-edtior-demo/dist /data/webapps/lowcode/lowcode-edtior-demo
